<?php
$status = $_GET['status'];
if($status == $_SESSION['status']){	
	require_once(LIB_PATH.'wx_api.php');
	$wxapi = new Wxapi();
	$code = $_GET['code'];
	$user_info = $wxapi->get_user_info($code);
	dump($user_info);	
}else{
	my_jump('微信登陆授权已经过期,请重现刷新二维码');		
}

?>